package com.tanjun.userservice.apiservice.request.adminuser;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import jakarta.validation.constraints.NotNull;

/**
 * 强制重置密码
 */
@Data
public class AdminResetPasswordRequest {
    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空")
    private Long userId;

    @NotNull(message = "密码不能为空")
    @Length(min = 6,max=20)
    private String password;
}
